package com.jasony.tools.excel.hssf;

import com.jasony.tools.excel.ExcelSheet;
import com.jasony.tools.excel.ExcelWorkBook;
import com.jasony.tools.excel.constants.ExcelExt;

import java.util.List;

/**
 * @Auther youqin
 * @Create 2018/12/4 上午10:31
 **/
public class HSSFExcelWorkBook extends ExcelWorkBook {
    public HSSFExcelWorkBook(ExcelExt ext) {
        super(ext);
    }

    @Override
    protected <T> ExcelSheet<T> createExcelSheet(String name, List<T> data, Class<T> clazz) {
        return new HSSFExcelSheet<T>(name,data,clazz);
    }
}
